|
|
|
|
- Taking the orientation into account
<Chart>.Orientation (Function) In french: <Graphe>.Orientation Modifies the orientation of chart axes.
// Reverses the X-axis and the Y-axis // Chart control CHART_MyChart.Orientation(grYCoordinate, grAtLeft, grAtBottom)
Syntax
<Chart control>.Orientation([<First axis> [, <Orientation of horizontal axis> [, <Orientation of vertical axis>]]])
<Chart control>: Control name Name of the Chart control to use (in the window, page or report editor). <First axis>: Optional constant Type of coordinates to display on the horizontal axis: | | grXCoordinate (default value) | X-coordinates are displayed on the horizontal axis. | grYCoordinate | Y-coordinates are displayed on the vertical axis. |
<Orientation of horizontal axis>: Optional constant Orientation of the horizontal axis: | | grAtLeft | The horizontal axis is oriented to the left (the negative values are on the right and the positive values are on the left). | grAtRight (default value) | The horizontal axis is oriented to the right (the negative values are on the left and the positive values are on the right). |
<Orientation of vertical axis>: Optional constant Orientation of vertical axis: | | grAtBottom | The vertical axis is oriented to the bottom (the negative values are at the top and positive values are at the bottom). | grAtTop (default value) | The vertical axis is oriented to the top (the negative values are at the bottom and positive values are at the top). |
Remarks Taking the orientation into account The change of orientation is taken into account during the next call to <Chart>.Draw.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|